package com.samuel.learing.controller.javaBase;

import java.util.Arrays;
import java.util.List;

public class ArraysTransListController {

    public static void main(String[] args) {
        String promotionIds = "1111,112,223,114,4456";
        String[] ids = promotionIds.split(",");
        List<String> list = Arrays.asList(ids);
        System.out.println(list.toString());
    }
}
